package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.TemplateMedicalRx;
import com.zshan.clinic.database.model.TemplateMedicalRxExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TemplateMedicalRxMapper extends SuperMapper {
    long countByExample(TemplateMedicalRxExample example);

    int deleteByExample(TemplateMedicalRxExample example);

    int deleteByPrimaryKey(Long rxId);

    int insert(TemplateMedicalRx row);

    int insertSelective(TemplateMedicalRx row);

    List<TemplateMedicalRx> selectByExample(TemplateMedicalRxExample example);

    TemplateMedicalRx selectByPrimaryKey(Long rxId);

    int updateByExampleSelective(@Param("row") TemplateMedicalRx row, @Param("example") TemplateMedicalRxExample example);

    int updateByExample(@Param("row") TemplateMedicalRx row, @Param("example") TemplateMedicalRxExample example);

    int updateByPrimaryKeySelective(TemplateMedicalRx row);

    int updateByPrimaryKey(TemplateMedicalRx row);
}